Import('RTT_ROOT')
from building import *

# get current directory
cwd = GetCurrentDir()

# The set of source files associated with this SConscript file.
src = Glob('MQTTPacket/src/*.c')

src += Glob('src/*.c')

if GetDepend(['SMALL_MQTT_CLIENT_TEST']):
    src += Glob('test/*.c')

path = [cwd + '/MQTTPacket/src']
path += [cwd + '/src']

group = DefineGroup('small_mqtt_client', src, depend = [''], CPPPATH = path)

Return('group')
